package cn.qf.shop.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 宠物管理的实体类
 */
public class Pets implements Serializable {
       //宠物id
       private Integer petsId;
       //宠物照片
    private String petsPic;
    //业主id
    private Integer ownerId;
    //宠物种类名称
    private String petsType;
    //宠物颜色
    private String petsColor;
    //宠物备注
    private String petsRemarks;
    //收养时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date petsAdoption;
    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    //截止时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    //状态码
    private Integer isDel;

    @Override
    public String toString() {
        return "Pets{" +
                "petsId=" + petsId +
                ", petsPic='" + petsPic + '\'' +
                ", ownerId=" + ownerId +
                ", petsType='" + petsType + '\'' +
                ", petsColor='" + petsColor + '\'' +
                ", petsRemarks='" + petsRemarks + '\'' +
                ", petsAdoption=" + petsAdoption +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isDel=" + isDel +
                '}';
    }

    public Integer getPetsId() {
        return petsId;
    }

    public void setPetsId(Integer petsId) {
        this.petsId = petsId;
    }

    public String getPetsPic() {
        return petsPic;
    }

    public void setPetsPic(String petsPic) {
        this.petsPic = petsPic;
    }

    public Integer getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Integer ownerId) {
        this.ownerId = ownerId;
    }

    public String getPetsType() {
        return petsType;
    }

    public void setPetsType(String petsType) {
        this.petsType = petsType;
    }

    public String getPetsColor() {
        return petsColor;
    }

    public void setPetsColor(String petsColor) {
        this.petsColor = petsColor;
    }

    public String getPetsRemarks() {
        return petsRemarks;
    }

    public void setPetsRemarks(String petsRemarks) {
        this.petsRemarks = petsRemarks;
    }

    public Date getPetsAdoption() {
        return petsAdoption;
    }

    public void setPetsAdoption(Date petsAdoption) {
        this.petsAdoption = petsAdoption;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}
